<?xml version="1.0" encoding="iso-8859-1"?>
<!-- DWXMLSource="srv-multiple-display.xml" -->
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
	<!ENTITY amp    "&#38;">
	<!ENTITY lt "&#60;">
	<!ENTITY lt "&#38;#60;">
	


]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="html" encoding="iso-8859-1"/>
  <xsl:template match="/root">
    <div id="trucoder-log-header">
      <h1>Log Viewer</h1>
    </div>
    <br />
    <table width="100%" border="0" cellspacing="2" cellpadding="3" class="sortable" id="tableData">
      <thead>
        <tr>
          <td width="10%" valign="top" class="sortheader" onClick="javascript:sortTable(0,'a');"><strong>Level</strong></td>
          <td width="45%" valign="top" class="sortheader" onClick="javascript:sortTable(1,'a');"><strong>Msg </strong></td>
          <td width="45%" valign="top" class="sortheader" onClick="javascript:sortTable(2,'a');"><strong>Date</strong></td>
        </tr>
      </thead>
      <tbody>
        <xsl:for-each select="./log">
          <tr >
            <td width="10%" valign="top"><xsl:value-of select="@level"/></td>
            <td width="45%" valign="top" nowrap="nowrap"><code><xsl:value-of select="text()"/></code></td>
            <td width="45%" valign="top" nowrap="nowrap"><xsl:value-of select="@time"/></td>
          </tr>
        </xsl:for-each>
      </tbody>
    </table>
    <script type="text/javascript">
	sortTable(1,'a');
</script>
  </xsl:template>
</xsl:stylesheet>
